import request from '@/utils/request'

// 余额明细列表（分页）
export function remainderDetailList(query) {
  return request({
    url: '/system/amount/remainder/pageList',
    method: 'get',
    params: query,
    loading: true
  })
}

// 待结算明细
export function waitSettlementDetailList(query) {
  return request({
    url: '/system/amount/waitSettlement/pageList',
    method: 'get',
    params: query,
    loading: true
  })
}

// 资金管理数据统计
export function tradeDataStats(query) {
  return request({
    url: '/system/amount/stats',
    method: 'get',
    loading: true,
    params: query
  })
}

// 客户提现申请列表（分页）
export function memberWithdrawPageList(query) {
  return request({
    url: '/system/amount/memberWithdraw/pageList',
    method: 'get',
    params: query,
    loading: true
  })
}
